package com.dragon.modules.yuegou.service.system;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.system.WxOpenidRefEntity;
import com.dragon.modules.yuegou.model.system.WxOpenidRef;

/**
 * 用户openid关系表 服务接口
 *
 * @author pbuilder generated
 * @date 2019-05-28 17:49:12
 * @version 2.0
 */
public interface WxOpenidRefService extends IService<WxOpenidRefEntity> {

	/**
	 * 根据openId查询
	 * 
	 * @param openid
	 * @param appId
	 * @return
	 */
	WxOpenidRef getByOpenId(String openid, String appId);

	void createNewRef(WxOpenidRef wxOpenidRef);

}